package net.xiangcaowuyu.shiro.service;

import net.xiangcaowuyu.shiro.entity.ShiroPermission;

import java.util.Set;

/**
 * @author laughing
 * @date 2020/10/11
 * @site https://www.xiangcaowuyu.net
 */
public interface ShiroPermissionService {

    /**
     * 获取角色对应权限
     * @param roleId 角色Id
     * @return 权限集合
     */
    Set<ShiroPermission> findByRoleId(long roleId);

}
